<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------


# Message
Route::get('up','api/v1.Test/index');
Route::get('Message','api/v1.Message/Message');
Route::get('checkMessageTime','api/v1.Message/checkMessageTime');
Route::get('yzm','api/v1.Message/yzm');
Route::get('ayzm','api/v1.Message/a_li_yzm');
Route::get('checkYzm','api/v1.Message/checkYzm');
Route::get('testMessage','api/v1.Message/testMessage');
Route::get('testCheck','api/v1.Message/testCheck');

# Login
//Route::post('check','login/login/getPopularizeRecord');

# Tongdun
Route::post('tongdun','api/v1.Tongdun/tongdun');
Route::get('checkSeqId','api/v1.Tongdun/checkSeqId');

#lqb
Route::get('getOneProduct/:id','api/v1.Lqb/getOneProduct');
Route::get('showAll','api/v1.Lqb/showAll');
Route::get('category/:id','api/v1.Lqb/category');
Route::get('getProductPage','api/v1.Lqb/getProductPage');
Route::get('getRecord/:id','api/v1.Lqb/getRecord');
Route::post('addPhone','api/v1.Lqb/addPhone');

# popularize
Route::post('popularize','api/v1.Popularize/popularize');
Route::post('registered','api/v1.Popularize/registered');
Route::get('logo','api/v1.Popularize/logo');
Route::get('appDownload','api/v1.Popularize/appDownload');

# Statistics
Route::post('getMonthData','login/Statistics/getMonthData');

# common
Route::post('getPhoneMoney','common/RegisteredPhone/getRegisteredPhoneMoney');

# Tourism
Route::post('Tourism','api/v1.Tourism/Tourism');

# Redis
Route::get('all', 'api/v1.Redis/all');
Route::get('string', 'api/v1.Redis/string');
Route::get('hash', 'api/v1.Redis/hash');
Route::get('set', 'api/v1.Redis/set');
Route::get('del', 'api/v1.Redis/del');
Route::get('list', 'api/v1.Redis/lists');

# Timing
Route::get('num', 'api/v1.Timing/setAccountNum');
Route::get('today','api/v1.Timing/four');
Route::get('week','api/v1.Timing/week');
Route::get('account','api/v1.Timing/setAccount');
Route::get('ips','api/v1.Timing/yesterday_ip');
Route::get('reg','api/v1.Timing/reg_list');
Route::get('click','api/v1.Timing/click');

# APP
Route::get('download', 'api/v1.App/download');

# test
Route::get('test', 'api/v1.Test/index');
# verify
//Route::get('verify','common/Verify/yzm');

# user
Route::rule('user/check', 'api/v1.User/check');
Route::rule('user/register', 'api/v1.User/register');
Route::rule('third_login', 'api/v1.User/third_login');